import "./assets/main.css";
//确认提示框样式
import 'element-plus/theme-chalk/src/message-box.scss'
//外部引入图标样式
import '../public/iconfont/iconfont.css';
//引入框架统一样式
import '../src/style/frame.css'
import '../src/style/variables.scss'
//引入textera保存框通用样式
import '../src/style/textera-save-style.css'

import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";

import { setupPermission } from "@/plugins";
/** element-plus暗黑主题 */
import 'element-plus/theme-chalk/dark/css-vars.css'

// 本地SVG图标
import "virtual:svg-icons-register";
import "uno.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
const app = createApp(App);

app.use(createPinia());
setupPermission();
app.use(router);
// 引入ElementUI 的图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
	app.component(key, component);
}
app.mount("#app");
